<ion-view view-title="部门列表" cache-view="true">
  <ion-nav-buttons side="left">
    <button class="button button-clear ion-ios7-arrow-thin-left button-positive" ng-click="goBack()">
      <div class="icon ion-ios-arrow-back"></div>
    </button>
  </ion-nav-buttons>
  <ion-nav-buttons side="right">
    <button class="button button-clear button-positive" ng-click="updateShareDepartment()">
      保存
    </button>
  </ion-nav-buttons>
  <div class="bar bar-header item-input-inset bar-subheader" no-scroll="true">
    <label class="item-input-wrapper">
      <i class="icon ion-ios-search placeholder-icon"></i>
      <input type="search" placeholder="搜索" ng-model="keyword">
    </label>
  </div>
  <ion-content class="has-header has-subheader" scroll="true">
    <ion-list>
      <ion-item class="item-remove-animate normal-list-height item-height"
                collection-repeat="customer in data | filter:keyword">
        <ion-checkbox ng-checked="checked(customer)" ng-model="statue" ng-click="changStatue(customer,statue)"
                      class="contact-item">
          <div>
            <label class="size16">{{customer.orgname}}</label>
            <label></label>
          </div>
          <p></p>
        </ion-checkbox>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>
